﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Resto.CostControl.Core.Models;

namespace Resto.CostControl.Core
{
    /// <summary>
    /// 菜肴品名关系类
    /// </summary>
    public class DishMaterial : BaseModel
    {
        public string Id { get; set; }
        public string DishId { get; set; }
        public string MaterialId { get; set; }

        [Display(Name = "品名编号")]
        public string Code { get; set; }

        [Display(Name = "品名名称")]
        public string Name { get; set; }

        [Display(Name = "品名价格")]
        public decimal CurrentPrice { get; set; }

        [Display(Name = "品名大类")]
        public string Category { get; set; }

        [Display(Name = "每份克重")]
        public decimal Weight { get; set; }
    }
}
